package com.systop.asset.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Material {
    /** 耗材ID*/
    private long materialId;
    /**耗材编码*/
    private String code;
    /**耗材名称*/
    private String name;
    /*** 规格型号*/
    private String specification;
    private String unit;
    /**耗材类别ID*/
    private long categoryId;
    /**最高库存*/
    private Long maxStock;
    /**最低库存*/
    private Long minStock;
    private String categoryName;
    private String remark;
    /**状态(1启用,0禁用)*/
    private Long status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**仓库id*/
    private Long warehouseId;
    /**仓库名称*/
    private String warehouseName;
    /**库存数量*/
    private Long quantity;
    /**库存id*/
    private Long inventoryId;
}
